﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using TwitterLib.Utilities;
using TwitterLib;
using System.Security;

namespace TechSeed.DominosBotService
{
    public partial class DominosBotService : ServiceBase
    {
        public DominosBotService()
        {
            InitializeComponent();
        }

        protected override void OnStart(string[] args)
        {
            TwitterNet twitter = new TwitterNet("dominosbot", new SecureString("" /* put pw here */, 6));
            DirectMessageCollection messages = twitter.RetrieveMessages();

            foreach (DirectMessage message in messages)
            {
                
            }
        }

        protected override void OnStop()
        {
        }
    }
}
